package com.css.zfzx.sjcj.modules.qhdrillhistogram.repository;

import com.css.zfzx.sjcj.modules.qhdrillhistogram.repository.entity.QhDrillHistogramEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author aa
 * @date 2020-11-11
 */
public interface QhDrillHistogramRepository extends JpaRepository<QhDrillHistogramEntity, String> {
    public List<QhDrillHistogramEntity> findByIsValidAndDrillCodeIn(String isValid, List<String> codes);

    public List<QhDrillHistogramEntity> findByIsValidAndDrillCode(String isValid, String code);
}
